/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package jp.co.irep.tech.juten.service.impl;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import javax.inject.Named;
import jp.co.irep.tech.juten.service.AkenService;
import jp.co.irep.tech.juten.hibernate.pojos.Aken;
import jp.co.irep.tech.juten.repository.AkenRepo;

/**
 *
 * @author toan_nguyen
 */
@Named
public class AkenServiceImpl implements AkenService, Serializable {
    @Inject
    private AkenRepo akenRepo;
    
    @Override
    public List<Aken> getAken(Map<String, Object> akenMap) {
        return getAkenRepo().selectAken(akenMap);
    }

    public AkenRepo getAkenRepo() {
        return akenRepo;
    }

    public void setAkenRepo(AkenRepo akenRepo) {
        this.akenRepo = akenRepo;
    }
}
